package com.ksd.pug.clound.api;

import com.ksd.pug.clound.pojo.SysUser;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author 飞哥
 * @Title: 学相伴出品
 * @Description: 飞哥B站地址：https://space.bilibili.com/490711252
 * 记得关注和三连哦！
 * @Description: 我们有一个学习网站：https://www.kuangstudy.com
 * @date 2022/3/4$ 23:28$
 */
@Component
@Slf4j
public class UserServiceFeignFallback implements UserServiceFeign {

    @Override
    public SysUser findUsers(Long id) {
        SysUser sysUser = new SysUser();
        sysUser.setId(-100L);
        return sysUser;
    }
}

